Carbon


SetPt

Header: Quickdraw.h Carbon status: Supported

Assigns two coordinates to a point.

void SetPt (
    Point *pt, 
    SInt16 h, 
    SInt16 v
);
Parameter descriptions
pt

A pointer to the point to be given new coordinates. On return, this point is assigned the horizontal coordinate you specify in the h parameter and the vertical coordinate you specify in the v parameter.

h

The horizontal value of the new coordinates.

v

The vertical value of the new coordinates.

DISCUSSION

The SetPt procedure assigns the horizontal coordinate specified in the h parameter and the vertical coordinate specified in the v parameter to the point returned in the pt parameter.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)